package com.hadoop.project.mvc.service.hbase;

import com.hadoop.project.mvc.dao.GetAllDao;
import com.hadoop.project.entity.hbase.HBaseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * @author Alexmaodali
 */
@Service
public class HBaseService {

    @Autowired
    private GetAllDao getAllDao;

    public HBaseResult getAll(String tableName) throws Exception {
        return getAllDao.execute(tableName);
    }
}
